package com.sushi.service;

import com.sushi.repository.entity.ActivityEntity;
import com.baomidou.mybatisplus.extension.service.IService;
import com.sushi.response.ResponseBO;
import com.sushi.response.ResponsePageBO;
import com.sushi.response.ActivityResp;
import com.sushi.request.ActivityReq;
import com.sushi.request.ActivityPageReq;

/**
 * 活动 服务类
 * @date 2023-05-02
 * @time 17:12:13
 * @author Administrator
 */
public interface ActivityService extends IService<ActivityEntity> {

    

    /**
     * 新增
     */
    public ResponseBO<ActivityResp> add(ActivityReq req);

    /**
     * 逻辑删除
     */
    public ResponseBO<ActivityResp> logicRemove(ActivityReq req);

    /**
     * 更新
     */
    public ResponseBO<ActivityResp> updateByField(ActivityReq req);

    /**
     * 列表
     */
    public ResponsePageBO<ActivityResp> listByCondition(ActivityPageReq req);

    /**
     * 详情
     */
    public ResponseBO<ActivityResp> detail(ActivityReq req);

;

}